import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { MySeriveProvider } from '../../../providers/my-serive/my-serive';

@IonicPage()
@Component({
  selector: 'page-login-or-register',
  templateUrl: 'login-or-register.html'
})
export class LoginOrRegisterPage {

  constructor(public navCtrl: NavController, public navParams: NavParams, public mySerive: MySeriveProvider) {}
  login() {
    this.navCtrl.push('LoginPage');
  }

  register() {
    this.navCtrl.push('RegisterPage');
  }
}
